#!/bin/bash
if source /etc/zabbix/zabbix_agentd.d/user.global.cfg; then
mysql -B -u"${rdsChaxunUser}" -p"${rdsChaxunPassword}" -h"${rdsIP}" -e"select ID,USER,DB,TIME,STATE,INFO from information_schema.processlist where info is not null order by info desc, time"
fi 2>/dev/null
